package com.wyzz.hr.pojo;

import java.util.Date;

import com.wyzz.hr.pojo.base.BaseTrcourse;

public class Trcourse extends BaseTrcourse {

	public Trcourse() {
	}

	public Trcourse(String trcNo) {
		super(trcNo);
	}

	public Trcourse(String trcNo, Trtype trcType, Employee trcCreateBy,
			Employee trcLastChangeBy, String trcName, String trcInfo,
			Integer trcStatus, Integer trcHasContract, Integer trcHasCert,
			Date trcCreateTime, Date trcLastChangeTime) {
		super(trcNo, trcType, trcCreateBy, trcLastChangeBy, trcName, trcInfo,
				trcStatus, trcHasContract, trcHasCert, trcCreateTime,
				trcLastChangeTime);
	}

	public void copyPartFrom(Trcourse trc) {
		setTrcHasCert(trc.getTrcHasCert());
		setTrcHasContract(trc.getTrcHasContract());
		setTrcFileName(trc.getTrcFileName());
		setTrcName(trc.getTrcName());
		setTrcType(trc.getTrcType());
		setTrcStatus(trc.getTrcStatus());
		setTrcFileName(trc.getTrcFileName());
		setTrcInfo(trc.getTrcInfo());
	}

	private static final long serialVersionUID = 1L;
}
